//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
      chatList:[
        {"messageCount":1,"friendName":"小安安安安安安安安安安安安安安安安安安安安","url":"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=890981777,2533212627&fm=15&gp=0.jpg","message":"晚上一起吃饭？","timer":"下午2:24",isNotif:true},
        {"messageCount":4,"friendName":"张继","url":"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=124614447,974614613&fm=26&gp=0.jpg","message":"在干嘛","timer":"晚上20:04",isNotif:true},
        {"messageCount":88,"friendName":"韩立","url":"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1858137112,3715794968&fm=26&gp=0.jpg","message":"下来","timer":"晚上22:04",isNotif:false},
        {"messageCount":104,"friendName":"子城","url":"https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1327229463,909028306&fm=26&gp=0.jpg","message":"你可别了","timer":"14:04",isNotif:true},
        {"messageCount":0,"friendName":"王菲","url":"https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2564956958,2771556423&fm=26&gp=0.jpg","message":"哈哈哈哈","timer":"昨天3:10",isNotif:true},
        {"messageCount":1,"friendName":"小崔","url":"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2796144188,439704386&fm=26&gp=0.jpg","message":"晚上一起吃饭？","timer":"下午2:24",isNotif:true},
        {"messageCount":6,"friendName":"张停","url":"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2860520628,1945387482&fm=26&gp=0.jpg","message":"在干嘛","timer":"17:04",isNotif:true},
        {"messageCount":0,"friendName":"杨董","url":"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2954337718,1649681218&fm=26&gp=0.jpg","message":"下来","timer":"晚上22:04",isNotif:false},
        {"messageCount":104,"friendName":"付局","url":"https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3011024659,3918111814&fm=26&gp=0.jpg","message":"你可别了","timer":"14:04",isNotif:true},
        {"messageCount":0,"friendName":"金金","url":"https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1528997605,1094057184&fm=26&gp=0.jpg","message":"哈哈哈哈","timer":"昨天3:10",isNotif:false}
      ]
  },
  onShow:function(e){

  },
  onItemTouchMove:function(e){
    console.log(e)
 }
})

